package com.teziyou.commodity.compartor;

import java.util.Comparator;

import com.mytravel.platform.bean.DictionaryBean;

public class DictionaryCompartor implements Comparator<DictionaryBean> {

	@Override
	public int compare(DictionaryBean d1, DictionaryBean d2) {
		int pid1 = d1.getDicDictionaryId();
		int pid2 = d2.getDicDictionaryId();
		if(pid1>pid2) return 1;
		else return -1;
	}

}
